<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>

    <ul>
        <li id="cardList"></li>
    </ul>
</div>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
    wx.addCard({
        cardList: <?= $json ?>, // 需要打开的卡券列表
        success: function (res) {
        var cardList = res.cardList; // 添加的卡券列表信息\
		alert(cardList)
        //$("#cardList").html(cardList);
    }
    });
</script>
</body>
</html>